﻿using System;
using System.Configuration;

namespace IFS_Gradebook_Generator.App_Code
{
    class ConfigurationData
    {
        public static string TemplateFile
        {
            get { return ConfigurationManager.AppSettings["TemplateFile"]; }
        }

        public static string CalculatedFinalSheetName
        {
            get { return ConfigurationManager.AppSettings["CalculatedFinalSheetName"]; }
        }

        public static string CalculatedMidYearSheetName
        {
            get { return ConfigurationManager.AppSettings["CalculatedMidYearSheetName"]; }
        }

        public static string SheetProtectionPassword
        {
            get { return ConfigurationManager.AppSettings["SheetProtectionPassword"]; }
        }

        public static string DataEntrySheetName
        {
            get { return ConfigurationManager.AppSettings["DataEntrySheetName"]; }
        }

        public static bool ProtectWorkSheet
        {
            get { return Convert.ToBoolean(ConfigurationManager.AppSettings["ProtectWorksheet"]); }
        }

        public static string GradebookFolder
        {
            get { return ConfigurationManager.AppSettings["GradebookFolder"]; }
        }
        
    }
}
